home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
tribbs
/
us104.zip
/
US10.DOC
< prev
next >
Wrap
Text File
|
1996-04-12
|
23KB
|
447 lines
UserScan 10.4 for TriBBS 10.x
By: Marc Brooks
This is a PostCardWare Sysop Utility for TriBBS 10.x ONLY. This utility will
not work on version 5.x of TriBBS and if you try to use it on that version you
will seriously screw your user files up. If you want a good TriBBS 5.x Sysop
utility, try Keith Kolbo's UserScan/UserDoor 5.0 which is the util that
inspired this one. If you have TriBBS 10.x then this is the Sysop Utility for
you! This little utility does just about everything! If you decide to use this
program please send a post card or note to the author at the address mentioned
at the end of this doc so that we know to support this program in the future.
If you send us $20 we will give you a copy of this utility's source code for
your own personal reference or use.
Now for details. This is a DOOR program so you either have to run it in LOCAL
mode shelled at the Waiting for Callers screen or from the Main or Sysop Menu
inside TriBBS. Here is what a sample batch file will look like to run this
shelled to DOS at the Waiting for Callers screen: A sample US.BAT is included
in this archive.
=============================================================================
BATCH FILES
=============================================================================
Name of batch file: US10.BAT
CD \TRIBBS\USCAN10
US10 US10.CFG LOCAL
CD \TRIBBS\NODE1
EXIT
Here is a sample batch file of running it from the Sysop Menu:
Name of batch file: SYSU.BAT
CD \TRIBBS\USCAN10
US10 US10.CFG
CD \TRIBBS\NODE1
BOARD
Note: If you use Non-Standard IRQ's you need to specify the IRQ on the
command line after the config file like this:
US10 US10.CFG 7
=============================================================================
CONFIGURATION FILES
=============================================================================
You also need to make a configuration file for it. You can call the
configuration file anything you want so long as you specify the name of the
config file on the command line (ie., US10 ANYNAME.CFG). If you have multiple
nodes it's a good idea to make a config file for each node and name then like
this: US10.1, US10.2, US10.3 etc.. Here is a sample config file to go by: A
sample US10.CFG is included in this archive.
TRIBBS
C:\TRIBBS\NODE1\
Fire Escape's BBS Directory Headquarters
Fire Escape
38400
0
NODE1=C:\TRIBBS\NODE1\
CONF=2
MESS=C:\TRIBBS\USCAN10\VALIDATE.TXT
LEVEL=20
UPFILES=1
UPKB=130
TIME=60
In the above sample the following lines mean this:
LINE 1: Door data type (YOU CAN ONLY USE TRIBBS!)
LINE 2: Path to Node's Door Data File. (Node's main directory)
LINE 3: Your BBS Name
LINE 4: Your Sysop Name
LINE 5: Locked Baud Rate (0 = Not Locked)
LINE 6: Registration Number (0 = Unregistered. PostCardWare = 0)
LINE 7-13: Contains the PATH to Node 1 (REQUIRED) and Auto-validation info
which is OPTIONAL.
Path to TriBBS' Node #1 is indicated by a line beginning with NODE1=
Rest of the options are for the auto-validation option "V" in UserScan.
The conference to mail the user's validation letter into is specified by a
line beginning with CONF= (NOTE: The conference numbering is "TriBBS style"
which begins with the first conference as #1, not zero.)
The name of the text file containing the user's validation letter is specified
by a line beginning with MESS= (This file can contain @codes@ to personalize
the message.)
If you want to use the "V"alidate option to change a validated user's security
level you may specify it here by putting the new level number on the line
beginning with LEVEL=
If you want to use the "V"alidate option to credit a validated user's UPLOADS
(complimentary file credit etc..) you may specify it here by putting the
number of file credits on the line beginning with UPFILES= (NOTE: Any value
specified will be added onto any current file upload count.)
If you want to use the "V"alidate option to credit a validated user's BYTES
UPLOADED (complimentary file credit etc..) you may specify it here by putting
the number of bytes on the line beginning with UPKB= (NOTE: Any value
specified will be added onto any current bytes uploaded count.)
If you want to use the "V"alidate option to credit a validated user with a
specific amount of time for the day you may specify it here by putting the
amount of time in minutes on a line beginning with TIME=
All of the auto-validation lines are optional, but if you want to send a
message to a user using this option you MUST provide a conference number on
the line beginning CONF=
After you have created config files for your node(s), you should make sure you
have a file named whatever you specified on MESS= line in the directory you
specified on the MESS= line. I suggest keeping this message to less than 70
columns in order to facilitate proper importing into the message conf you
specified on the CONF= line.
=============================================================================
USE AND FEATURES
=============================================================================
The following is a feature list and a brief explaination of the command
options. The program is completely memu driven so you shouldn't really need to
refer to this very much.
-----------------------------------------------------------------------------
MAIN MENU
-----------------------------------------------------------------------------
When you first enter the utility door it will look like this:
UserScan 10.0 by Marc Brooks
[N] Search by Name or Alias
[P] Search by Password
[#] Search by Phone Number
[S] Search by Security Level
[B] Search by Birthdate
[E] Search by Expiration Date
[M] Search by Access to Private Conferences
[C] Search by Co-Sysop Privileges to Conferences
[F] Search by Access to Private File Areas
[U] Search by User Number
[D] Dump User Results to a Text File
[Q] Quit UserScan
You may select from the menu by typing the letter between the brackets [ ].
Below is a brief explanation of each of the Main Menu Options above.
[N] Search by Name or Alias. You can enter the whole user name or alias or
just the part you know. UserScan will search the entire userbase and
present users which match the search string you have entered. After you
enter the search string, UserScan will ask you if you want users with
the string ANYWHERE in their name/alias? If you say NO, it will only
find users whose name or alias BEGIN with the string you have specified.
If you say YES, it will locate and display users that have the string
ANYWHERE in their name or alias.
[P] Search by Password. You can enter a whole or partial password and
UserScan will locate and display one by one any or all users which have
a password containing the search string you have specified anywhere in
the password.
[#] Search by Phone Number. You can enter either a whole phone number or
just the area code or just the area code and the first 3 digits. (for
example: 314 OR 314-555 or 314-555-0000) If you enter the entire phone
number, UserScan will locate and display any and all users with a phone
number matching the phone number you have specified. If you enter only
the area code portion, it will locate and display for you all the users
who have phone numbers that begin with the area code you have specified.
If you enter the area code AND the prefix (the first 3 digits of the 7
digit number) UserScan will locate and display one by one any users who
have phone numbers that begin with the same prefix that share the same
area code.
[S] Search by Security Level(s). You can enter a single security level like
10 or 15 if you want to locate all users with a specific security level.
Or you can specify a range of security levels with the + or the - OR
the > or the < signs followed by a security level. The search will
include the security level you enter. For example, a >60 parameter would
locate and display all users who are a Security Level 60 or greater.
Typing +60 would accomplish the same thing. Typing -40 would locate and
display all users with a Security Level of 40 or under. Typing <40 would
accomplish the same thing.
[B] Search by Birthdate. You can enter an entire birthdate [mm/dd/yy format]
to locate all users with a matching date of birth. Or you can type just
the "mm" portion of the parameter to locate all users who have a birth
date in the same MONTH. Typing just the "mm/dd" part of the parameter
would further restrict the search to users with a birthdate on the
same DAY of the Month (regardless of the year of birth).
[E] Search by Expiration Date. Works the same as Search by Birthdate only
for the date of a user's subscription expiration.
[M] Search by Access to Private Conferences. IF you have conferences marked
as "PRIVATE" UserScan will display a menu of those conferences with the
conference number and prompt you to select the conference number of the
private conference you want to check user access on. You may enter the
number from the menu of Private Conferences and then UserScan will then
locate and display all users who have been granted ACCESS to the Private
Conference you have specified.
[C] Search by Co-Sysop Privileges to Message Conferences. This option will
display a menu listing of ALL your Message conferences. Once listed, you
then specify the conference you want to check Co-Sysop privileges on.
After you specify the conference number UserScan will locate and display
any users who have been granted Co-Sysop privileges for the specified
message conference.
[F] Search by Access to Private File Areas. IF you have file areas marked
a "PRIVATE" UserScan will display a menu of those file areas with the
file area number and prompt you to select the file area number of the
private file area you want to check user access on. You may enter the
number from the menu of Private File Areas and then UserScan will then
locate and display all users who have been granted ACCESS to the Private
File Area you have specified.
[U] If you know a user's USER NUMBER off the top of your head, you may enter
it here to search for that user and display their account info.
[D] For those occasions when you want a printed or text file listing of users
with certain criteria (like a listing of all the users with access to a
private file area etc..) you can select this option to record the results
of a UserScan search to a text file. UserScan will prompt you to enter
the name of the text file. You do not have to type the PATH. UserScan
will output the results of any subsequent searches to the filename you
have entered in the directory where your UserScan files are located. If
you exit UserScan without executing any searches after initializing this
feature, the file you specified will not be created. Once you select a
search criteria, you will see UserScan "searching..." over and over.
UserScan will not display the matches to the display screen though. When
it finishes, it will return to the main UserScan Menu. If you "Q"uit
UserScan then and go to it's directory, you can then locate and print
the file you told it to create. The format of the output file is like
this:
User # User Name Alias Phone Number Birthdate
==============================================================================
10 John Doe Johnny 314-555-5555 01/31/85
The display will be wider than 80 columns since it is formatted for easy
importing into database programs (all fields are fixed-width).
[Q] Quit UserScan. You select "Q" to exit the UserScan Utility Door and
return to either the DOS prompt or the BBS.
When can you use UserScan?
UserScan is SAFE to use while users are ONLINE, so long as the user of the
file you are actively EDITING isn't logged on. The only known exception to
this rule is while ZCHAT is in use because it holds TRIBBS's user files open
in non-shared mode while users are in that program. If you know of any other
3rd party programs that make UserScan unsafe to use at the same time please
let us know. NOTE: You CAN do searches and view users with UserScan while
ZChat is being run so long as you do NOT attempt to EDIT any of the users.
(Zchat is a Telechat door often used as a replacement for TriBBS' internal
Telechatting option).
-----------------------------------------------------------------------------
USER EDITTING MENU
-----------------------------------------------------------------------------
After you select an option from UserScan's Main Menu, you will get a user's
account menu that looks something like this:
[N] Name: John Doe
[A] Alias: Johnny Date of 1st Call: 01/01/96
[P] Password: dork
[@] Address: 555 Main Street [L] # of Logons: 4
Address: Apt.205 [M] Messages: 2
City: Nowhere City [U] Uploads: 4/3001K
State: IL [D] Downloads: 25/100043K
Country: USA Last Call: 03/01/96
Zip: 55555 Xfers Today: 2/1837262K
[#] Phone #: 111-555-5555 Calls Today: 4
[B] Birthdate: 01/31/85 [T] Time Left Today: 31
[S] Sec Level: 20 [X] Expiration Date: None
[?] Expert Mode: Novice [I] Initial Chat: Yes
[E] Editor: Line [W] Waiting Check: No
[Y] Protocol: None
[K] Delete User: No
[0] Lock Out: No
[!] UserGram [F] Private Files [C] Conference Info
[V] Auto-Validate [Z] Zap Today [< or -] Previous [> or +] Next
If you want to edit something on the user's account you simply enter the
letter in the [ ] to access that data field. Below is a brief description of
the user editing options.
[N] Edits the User's Name
[A] Edits the User's Alias
[P] Edits the User's Password
[@] Edits the User's Addresses, City, State, Country and Zip Code fields.
You will be prompted for each item in the address section, to leave a
field as it is without editing it, just hit ENTER to bypass it and
move on to the next field. You don't have to re-type the same thing.
[#] Edits the User's Phone Number
[B] Edits the User's Birthdate
[S] Edits the User's Security Level
[?] Edits the User's Menu Toggle. You will be prompted to enter either
N for Novice Mode, X for Expert Modem or S for Super Expert Mode.
[E] Edits the User's Default Message Editor. You will be prompted to
enter either N for No Default, L for Line Editor or F for Full Screen
editor.
[Y] Edits the User's Default Transfer Protocol. You will be prompted to
enter either S for Select at time of transfer or a LETTER that corresponds
to the protocol from your TTPROT Menu or EXTPROT Menu.
[K] Toggles whether the user is marked for deletion in the next user pack or
not.
[0] Toggles whether the user is locked out of the BBS or not.
[L] Edits the User's Number of Logons
[M] Edits the User's Number of Messages Entered
[U] Edits the User's Number of Files Uploaded and Bytes Uploaded
[D] Edits the User's Number of Files Downloaded and Bytes Downloaded
[T] Edits the User's Time Left for TODAY
[X] Edits the User's Subscription Expiration Date
[I] Toggles the User's Initial Availability for Chat Requests on or off
[W] Toggles the User's Check for Waiting Mail during Login Check on or off
[!] Lets you enter a 15 line text message to the user that is delivered
via user-specific logon screen (ie., 2431.BBS)
[F] Toggles a user's access to PRIVATE File Areas. Selecting this will
bring up a menu of your private file areas. When you select the number
for the file area it will tell you whether the user has access to it or
not and prompt you "ALLOW USER ACCESS?" Y/n. You select "Q" to quit
this access menu and save the changes.
[C] Toggles a user's access to PRIVATE Message conferences. Tells you whether
the user currently has access or not and prompts you "ALLOW USER ACCESS?"
Y/n. Also tells you whether a user has a conference queued or not, and
gives you the option of queueing it for him. Lastly it will tell you
whether a user is a "co-sysop" of a specified conference and prompts you
"MAKE CO-SYSOP OF CONF?" Y/n. You select "Q" for quit this access menu
and save the changes.
[V] Auto-Validates a user by editing their security level, files uploaded,
bytes uploaded, time for the day and imports a message to them into a
conference of your choosing all based on what you have in your UserScan
configuration file (summarized again here):
The conference to send the validation letter is specified by a line
beginning with CONF=
The file containing the validation letter is specified by a line
beginning with MESS= This file can contain @codes@ to personalize
the message.
If setting the validated user to a specific level is desired, the
level is specified by a line beginning with LEVEL=
If giving the validated user upload FILE credits is desired, the
number of files ADDED is specified by a line beginning with UPFILES=
If giving the validated user upload Kbytes credit is desired, the
number of Kbytes ADDED is specified by a line beginning with UPKB=
If giving the validated user a specific amount of time for the day,
the amount in minutes should be specified by a line beginning
with TIME=
[Z] Zaps a User's stats for THAT DAY ONLY. Zero's their XFer's Today, sets
their daily time limit to the system-configuration defined daily time
limit. It is as if they have not called or done anything file related
that day. Good for resetting a user who has been erroneously docked for
aborted downloads. The next time that the user calls, TriBBS will think
this is their first call for the day and reset all their daily limits
according to their security level as defined in the DLIMITS.DAT.
[<] This will take you BACK to the PREVIOUS USER in a search. Typing a -
will accomplish the same thing.
[>] This will take you FORWARD to the NEXT USER in a search. Typing a + OR
hitting ENTER will accomplish the same thing.
[ESC] Hitting the ESCAPE key will abort the search and return you to the
MAIN USERSCAN MENU. If you have edited and made changes to a user account
hitting ESC will cause USERSCAN to prompt you "Save Changes to this User?"
[ENTER] Hitting ENTER will take you to the next user in a search until you
get to the last user in a search and then it will return to the Main
UserScan menu. Hitting ENTER will AUTOMATICALLY SAVE for you any changes
you have made to a user account without prompting you as to whether or
not you wish to save the changes.
That's how it all works!
=============================================================================
CONTACTING ME AND REGISTRATION
=============================================================================
If you have any enhancement requests or bug reports to make, you can call Fire
Escape's BBS Directory HQ at (314) 741-0341 or (314) 741-9505. You can also
leave internet mail to Marc Brooks at marcb@crl.com.
If you want the source code, send $20 to Marc Brooks (money order) at this
address:
Marc Brooks
1700 Parktree Lane
St. Louis, Mo. 63138
Please include a mailing address and an internet address (if you have one) so
we know where to send the source to. If you use this program and would like
for us to support it, send a postcard or letter to the above address and let
us know you are using this utility. If you don't think anyone is using this
utility then we probably won't put out bug fixes or make any enhancements. So
SEND us feedback!!! PLEASE!
As with all postcardware/freeware/shareware, we have tested this program on OUR
TriBBS 10.x system and have no problems. But if you use it and it eats your
userfiles we are sorry but that's too bad. We don't expect it to, but hey, you
use everything at your own risk. Okay? So make backups frequently. It's a good
idea!! :)
=============================================================================
HISTORY
=============================================================================
20 March 96: 10.0: Internally release in use on our BBS
02 April 96: 10.1: First public release, added validation time option,
corrected typo in expert (menu) prompt.
02 April 96: 10.2: MarkG got me with an April fools, the TBAPI doc for
TBUsers_Dat.DefaultEditor does NOT take 'L' and 'F'
for "line" and "full-screen" editors. Rather, it takes
1 and 2. Thus, if you changed a user's default editor
in UserScan 10.1, it would display incorrectly in TriBBS
08 April 96: 10.3: Was sending Usergrams to the MWORK directory, not DISPLAY
so the users would never see them. Make sure you move
any ####.BBS files to the DISPLAY directory.
12 April 96: 10.4: Some people complained that the validation letters sent
by the "V"alidate command were not private. Now they
are sent as private messages.
=============================================================================
CREDITS
=============================================================================
Thanks to:
Fire Escape for writing this manual, and pushing me to get UserScan
written!
Keith Kolbo for creating the original UserScan for 5.x (where are you
man!?!)
Mark Goodwin for creating TriBBS, and for releasing TBAPI and TDOOR!
Borland International for such an excellent development environment.
This program was written using Borland C++ 4.51, in large model, compiled
for 8086 processors (for you OLD sysops), linked with TDOOR 3.0 and TBAPI
10.0. No additional 3rd party tools are used. Registered users receive
complete source and .IDE file.